package com.aco.party.dao.custom;

import com.aco.party.dao.mbg.MBGPermissionDao;
import com.aco.party.model.po.Permission;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PermissionDao extends MBGPermissionDao {
    List<Permission> getPermissionsByRoleId(@Param("roleId")Long roleId);

    List<Permission> getAll();
}